<?php include("inc/global.inc");
include("inc/page.php");
$url="list.php";
$thepage=$_GET['page']?$_GET['page']:1;
$maxpage=20;
$l_rs=@mysql_query("select * from job_news_type  where id='$_GET[pid]'");
$l_row=@mysql_fetch_array($l_rs);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$l_row[job_t_name]?>-招聘向导，招聘向导为您提供最新的招聘会信息，让您的就业提供全面的服务-三帝招聘网</title>
<link href="/css/body.css" rel="stylesheet" type="text/css" />
<link href="/css/link.css" rel="stylesheet" type="text/css" />
<link href="/css/head1.css" rel="stylesheet" type="text/css" />
<link href="/css/list.css" rel="stylesheet" type="text/css" />
<link href="/css/foot.css" rel="stylesheet" type="text/css" />
<script src="http://www.sandib2b.cn/js/job_class.js" type="text/javascript" charset="gb2312"></script>
<script src="http://www.sandib2b.cn/js/city.js" type="text/javascript" charset="gb2312"></script>
</head>
<body>
<?php include("inc/top.php"); ?>
<div id="mian" class="topside6">
<div class="title1">当前位置: <a href="/">三帝招聘网</a> >> <a href="/xiangdao/">招聘向导</a> >> <?=$l_row[job_t_name]?></div>
<div class="onl"></div>
</div>
<div id="mian" class="topside6">
<div class="rightbox downside6">
  <div class="rightmain">
<div class="rightmain downside6 side">
<img src="/images/ditu.jpg" width="250" height="71" /></div>
<div class="rightmain topside6 downside6 side">
<div class="title size14 b" style="color:#CC0000;">快速搜索</div>
 <div class="RtInfo4">
<div class="div_3">
  <table width="100%" border="0" cellpadding="0" cellspacing="3">
    <tr>
      <td><form action="/jobs.php" method="get" name="form1" id="form1" target="_blank">
                   <table width="100%" border="0" cellpadding="5" cellspacing="0">
                        <tbody>
                        <tr>
                          <td colspan="2"></td>
                        </tr>
                        <tr>
                          <td width="25%" align="left" class="buttontext">职位类别</td>
                          <td width="75%" align="left"><select name="job_class" id="job_class" onChange="changejobtype(document.form1.job_class.options[document.form1.job_class.selectedIndex].value)" style="width:160px;">
                              <option value="">选择、修改</option>
							  <?php
							     $rs=@mysql_query("select * from job_class  where j_c_id=0");
								 while($row=@mysql_fetch_array($rs)){
							  ?><option value="<?=$row['id']?>"><?=$row[j_c_name]?></option>
							  <?php }?>
                          </select></td>
                        </tr>
                        <tr>
                          <td align="left" class="buttontext">职位名称</td>
                          <td align="left">
						  <select name="job_smill" id="job_smill" style="width:160px;">
                              <option value="">选择、修改</option>
						  </select></td>
                        </tr>
                        <tr>
                          <td align="left" class="buttontext">行业类别</td>
                          <td align="left">
						  <select name="job_hy" id="job_hy" style="width:160px;">
                            <option value="">选择、修改</option>
							  <?php
							     $rs=@mysql_query("select * from job_hy where job_hy_id=0");
								 while($row=@mysql_fetch_array($rs)){
							  ?><option value="<?=$row['id']?>"><?=$row[job_hy_name]?></option>
							  <?php }?>
                          </select></td>
                        </tr>
                        <tr>
                          <td align="left" class="buttontext">城&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;市</td>
                          <td align="left"><select  name="c_provinces4" id="c_provinces4" onChange="changecity4(document.form1.c_provinces4.options[document.form1.c_provinces4.selectedIndex].value)" style="width:80px;">
            <option value="">省份</option>
          <?php
          $result = mysql_query("select * from city where city_id=0");    
          while($res = mysql_fetch_array($result)){    
          ?>    
          <option value="<?=$res['id']?>"><?=$res['city_name']?></option> 
          <?php }?>   
       </select>
       <select name="c_city4" id="c_city4" onChange="changecity5(document.form1.c_city4.options[document.form1.c_city4.selectedIndex].value)" style="width:80px;">
            <option value="">城市</option>
       </select></td>
                        </tr>
                        <tr>
                          <td align="left" class="buttontext">日&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;期</td>
                          <td align="left"><select name="job_date">
                                      <option value="0">不限</option>
                                      <option value="1">近1天</option>
                                      <option value="3">近3天</option>
                                      <option value="7">近7天</option>
                                      <option value="15">近15天</option>
                                      <option value="20">近20天</option>
                                      <option value="30">近30天 </option>
                          </select></td>
                        </tr>
                        <tr>
                          <td colspan="2" valign="center"><table border="0" cellpadding="0" cellspacing="3">
                            <tr>
                              <td><input class="textstyle" style="WIDTH: 160px" onFocus="this.value=''" value="输入公司/职位关键字" name="keyword" /></td>
                              <td><input type="image" src="/images/search.gif" align="top" name="login2" /></td>
                            </tr>
                          </table></td>
                        </tr>
                      </tbody>
                  </table>
                </form></td>
    </tr>
  </table>
</div>
 </div>
 <div class="onl"></div> 
</div>
<div class="rightmain topside6 downside6 side">
<div class="title size14 b" style="color:#CC0000;">热点文章</div>
 <div class="RtInfo4">
<div class="div_3">
<ul>
<?php
$rs=@mysql_query("select id,news_title from job_news where n_sh='1' order by n_hit desc,id desc limit 10");
while($row=@mysql_fetch_array($rs)){
?>
<li><a href="/jobinfo/<?=$row['id']?>.cfm" target="_blank"><?=mb_substr($row[news_title],0,20,'utf-8')?></a></li>
<?php }?>
</ul>
</div>
 </div>
 <div class="onl"></div> 
</div>



<div class="onl"></div>
</div>
  
  </div>
<div class="leftmain content sideyellow1">
  <div class="biaoti">
<div class="title3 size14"><?=$l_row[job_t_name]?></div>
  <ul class="newslist">
     <?php
		$rs=@mysql_query("select * from job_news where type_id='$_GET[pid]' and n_sh=1  order by id desc limit ".($thepage-1)*$maxpage.",$maxpage");
	    while($row=@mysql_fetch_array($rs)){
	 ?>
		    <li><a href="/jobinfo/<?=$row['id']?>.cfm" class="link_1" target="_blank"><?=$row[news_title]?></a></li>
      <?php }
	  $rs2=@mysql_query("select count(id) from job_news where n_sh=1 and type_id='$_GET[pid]'");
	  $totalrecord=@mysql_result($rs2,0); 
      $totalpage=ceil($totalrecord/$maxpage);
	  @mysql_free_result($rs2);
     ?>
  </ul>
<div class="page">
<div class="pageleft">
<ul>
<?php pages($thepage,$totalpage,$maxpage,7);?>
</ul>
</div>
<div class="pageright">
<form name="pageform" method="post" action="" onSubmit="return onCheckPage()"> 
共1页　到
<input type="text" name="page" class="input-txt" size="5" maxlength="5">页
<input type="submit" value="确定" class="but">
</form>
<script language="javascript"> 
function onCheckPage(){
var page = parseInt(document.pageform.page.value); 
if(isNaN(page)){
alert("请输入数字(1,1)");
return false; 
}
if(page<=0){
page =1; 
}
if(page >1){
page=1;
}
if(page>1){
document.pageform.action = "/jobart/<?=$_GET[pid]?>/"+page+".cfm"; 
}else{
document.pageform.action = "/jobart/<?=$_GET[pid]?>/1.cfm"; 
}
return true;
}
</script>
  </div>
<div class="onl"></div>
</div>
  </div>
  </div>
<div class="onl"></div>
</div>
<?php include("inc/foot.php"); ?>
</BODY>
</HTML>

